﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Leads.aspx.cs" Inherits="ukeasbjWeb.Leads" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>客户管理</title>
		<!-- 可修改区域:标题 Begin -->
		<!-- 可修改区域:标题 End -->
        <meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
		<%    
			Response.WriteFile ("HeadComm.inc"); 
		%>    
</head>
	<body >
		<table id="Tab_Frame" cellspacing="0" cellpadding="0" width="98%" align="center" border="0">
			<tr> <!-- 标志图片区Top -->
				<td align="left" bgcolor="white" height="4"><img alt="idp诺思留学" src="./idp-nuosi-logo.jpg" align="middle"/>
					<!-- 菜单区Top -->
					<%    
						Response.WriteFile ("main_menu.inc"); 
					%>
					<!-- 菜单区Bottom --></td>
			</tr> <!-- 标志图片区Bottom -->
			<tr> <!-- 分割栏 -->
				<td height="8"><font face="宋体"></font></td>
			</tr>
			<tr align="center">
				<td>
					<!-- 可修改区域:正文区Top -->
					<form id="form_Employees" method="post" runat="server">
						<table id="Tab_Body" cellspacing="0" cellpadding="0" width="100%" align="center" bgcolor="#99cc66"
							border="0">
							<tr valign="middle" >
								<td style="HEIGHT: 41px" align="left" width="22%"><font face="宋体" size="2">"<font color="#0000ff"><% = Session["Office"] %>
											:<% = Session["Email"] %></font>", 客户管理</font>
											<table id="Table_CheckedCashFlow" runat="server">
									</table>
                                </td>
                                <td><asp:RadioButtonList ID="RadioButtonList_Email_SMS" runat="server" 
                                                style="margin-left: 0px" Width="77px">
                                                <asp:ListItem Selected="True" Value="No_Email_SMS">无群发</asp:ListItem>
                                                <asp:ListItem Value="Email">邮件</asp:ListItem>
                                                <asp:ListItem Value="SMS">短信</asp:ListItem>
                                            </asp:RadioButtonList>  </td>
				
								<td style="HEIGHT: 41px" align="left" width="8%">
											<asp:RadioButtonList ID="RadioButton_OrderBy" runat="server" 
                                                style="margin-left: 0px">
                                                <asp:ListItem Selected="True" Value="DESC">减序</asp:ListItem>
                                                <asp:ListItem Value="ASC">增序</asp:ListItem>
                                                <asp:ListItem Value="DEFAULT">默认</asp:ListItem>
                                            </asp:RadioButtonList>
											</td>
								<td style="HEIGHT: 41px" align="right"><font face="宋体" size="2">
                                
								地区:
						<asp:dropdownlist id="DDList_Office" runat="server" DataTextField="Office" DataValueField="Code_Office"
							width="80"></asp:dropdownlist>&nbsp;功能清单:
						<asp:dropdownlist id="DDList_Operator" runat="server" width="60">
					        <asp:ListItem Value="1">顾问</asp:ListItem>
					        <asp:ListItem Value="2">一次顾问</asp:ListItem>
					        <asp:ListItem Value="3">二次顾问</asp:ListItem>
						    <asp:ListItem Value="4">前台</asp:ListItem>
						    <asp:ListItem Value="5">客服</asp:ListItem>
						    <asp:ListItem Value="6">地区经理</asp:ListItem>
						    <asp:ListItem Value="7">延续跟进</asp:ListItem>
						    <asp:ListItem Selected="True" Value="8">有效</asp:ListItem>
						    <asp:ListItem Value="9">0无效</asp:ListItem>
                            <asp:ListItem Value="10">有效且非名单</asp:ListItem>
						    <asp:ListItem Value="11">1星潜在</asp:ListItem>
						    <asp:ListItem Value="12">市场专员</asp:ListItem>
						    <asp:ListItem Value="13">已签约</asp:ListItem>
						    <asp:ListItem Value="14">已授权</asp:ListItem>
						    <asp:ListItem Value="15">休眠</asp:ListItem>
						    </asp:dropdownlist>
						            &nbsp; 登记日期:
										<asp:textbox id="TextBox_Date_start_Register" runat="server" width="76" MaxLength="20"></asp:textbox>
						<asp:regularexpressionvalidator id="RFV_Date_Birth" Display="Dynamic" Runat="server" ValidationExpression="[0-9]{4}(-){1}[0-9]{1,2}(-){1}[0-9]{1,2}"
							ErrorMessage="范例:'2007-1-21'" ControlToValidate="TextBox_Date_start_Register"></asp:regularexpressionvalidator>至:<asp:textbox id="TextBox_Date_end_Register" runat="server" width="76" MaxLength="20"></asp:textbox>
						<asp:regularexpressionvalidator id="Regularexpressionvalidator1" Display="Dynamic" Runat="server" ValidationExpression="[0-9]{4}(-){1}[0-9]{1,2}(-){1}[0-9]{1,2}"
							ErrorMessage="范例:'2007-1-21'" ControlToValidate="TextBox_Date_end_Register"></asp:regularexpressionvalidator>
			
				                    &nbsp;客户的中文名、英文名、邮箱等查询条件:
										<asp:textbox id="TextBox_SearchValue" runat="server" width="80"></asp:textbox>
										
									&nbsp; 本页最多显示行数:
						<asp:textbox id="TextMax_Lines" runat="server" width="60"></asp:textbox><asp:regularexpressionvalidator id="RFV_TextMax_Lines" Display="Dynamic" Runat="server" ValidationExpression="[0-9]{1,5}"
							ErrorMessage="只能输入1至5个数字'" ControlToValidate="TextMax_Lines"></asp:regularexpressionvalidator>

                                    <asp:button id="Bt_Search" runat="server" Text="查询/刷新" 
                                        onclick="Bt_Search_Click"></asp:button></font></td>
							</tr>
							</table>
                <table align="center">
				<tr valign="middle">
                	<td align="right" width="150"><asp:label id="Label_Title_Email" runat="server" EnableViewState="true" ForeColor="black"></asp:label>
                    </td>
					<td align="left"><asp:textbox id="TextBox_Title_Email" runat="server" MaxLength="60" Width="700"></asp:textbox></td>
				</tr>
				<tr valign="middle">
					<td align="right" width="150"><asp:label id="Label_Email_SMS" runat="server" EnableViewState="true" ForeColor="black">
                    </asp:label></td>
					<td align="left"><asp:textbox id="TextBox_Email_SMS" runat="server" Width="700px" 
                            Height="50px" TextMode="MultiLine"></asp:textbox>
                    </td>
				</tr>
			</table>
            <table align="center">
				<tr valign="middle" align="center" bgcolor="#99cc66" >
                <td align="left"  width="50%"><asp:label id="Label_EmailPwd" runat="server" EnableViewState="true" ForeColor="black">
                    </asp:label>
                            <asp:TextBox ID="TextBox_EmailPwd" runat="server" TextMode="Password" 
                                            width="100" />
                                    </td>
					<td align="center"><font face="宋体" size="2"><asp:button id="Bt_OK" runat="server" 
                            Text="发送" onclick="Bt_OK_Click"></asp:button></font></td>
                    </tr>
			</table>
            <hr />
							<table>
								<tr valign="middle" >
                                    <td align="right"><asp:checkbox id="CheckBox_Channel_Customer2Know" runat="server" width="120" 
                                TextAlign="Left" Text="客户了解渠道"></asp:checkbox>
						    
						            </td>
					    
						            <td align="right"><asp:checkbox id="CheckBox_Office_Statistic" runat="server" width="120" 
                                TextAlign="Left" Text="地区"></asp:checkbox>
						            </td>
							
						            <td align="right"> <asp:checkbox id="CheckBox_Type_Contact" runat="server" width="120" 
                                TextAlign="Left" Text="客户接触方式"></asp:checkbox>
						   
						            </td>
						     
						            <td align="right"><asp:checkbox id="CheckBox_Overseas_Study" runat="server" width="120" 
                                TextAlign="left" Text="客户留学意向"></asp:checkbox>
						            </td>
						            <td align="right"><asp:checkbox id="CheckBox_State_Customer" runat="server" width="140" 
                                TextAlign="Left" Text="一次分配客户状态"></asp:checkbox>
						    						    </td>
					    
					    		    <td align="right"><asp:checkbox id="CheckBox_Second_State_Customer" runat="server" width="140" 
                                TextAlign="Left" Text="二次分配客户状态"></asp:checkbox>						
						            </td>
						</tr>
							</table>
           
						<!-- 可修改区域:测试 htmltable 表 Top -->
						<hr />
		                <asp:label id="Label_Total" runat="server" EnableViewState="true" ForeColor="black"></asp:label>
						<table id="Table_Leads" bordercolor="#99cc66" cellspacing="0" cellpadding="1" bgcolor="palegoldenrod"
							border="1" runat="server">
						</table>
						<table id="Table_NewOne_Lead" runat="server">
		                </table>    	
						
						<!-- 可修改区域:测试 htmltable 表 Bottom -->
			</form>
			<!-- 可修改区域:正文区Bottom -->
			</td>
			</tr>
		</table>	
		<table align="center">
			<tr valign="middle" align="center" >
				<!-- 版权声明区Top -->
				<%    
				Response.WriteFile ("main_bottom.inc"); 
			    %>
			</tr> <!-- 版权声明区Bottom -->
		</table>
	</body>
</html>
